@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* VARIABLES */
:root {
  --c-dark: #212529;
  --c-brand: #be8314;
  --c-brand-light: #ffffffe5; 
  --c-brand-rgb: rgb(20, 190, 71);
  --c-body: #4b4946;
  --font-base: "generalsans", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
  --transition: all 0.5s ease;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--c-body);
}

h1, h2, h3, h4, h5, h6
.h1, .h2, .h3, .h4, h5, .h6 {
  font-weight: 600;
  color: var(--c-dark);
}

a{
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
}

a:hover {
  color: var(--c-brand-light);
}

img {
  max-width: 150px;
  height: auto;
}


.section-padding {
  padding-top: 140px;
  padding-bottom: 140px;
}

.bg-cover{
  background-position: center !important;
  background-size: cover !important;
  background-position: center !important;
}


/* navbar */
.navbar {
  box-shadow: var(--box-shadow);
}
.navbar .navbar-nav .nav-link:hover{
  color: #be8314;
  text-decoration: underline;
}
.navbar .navbar-nav .nav-link {
  font-weight: 500;
  color: var(--c-dark);
}

.navbar .navbar-nav .nav-link.active {
  color: var(--c-brand);
}


/* BTN */
.btn {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px, 24px;
}

.btn-brand {
  background-color: var(--c-brand) !important;
  border-color: var(--c-brand) !important;
  color: white !important;
}

.btn-brand:hover {
  background-color: white !important;
  border-color: white !important;
  color: gray !important;
}

/* Halaman Training PLTS */
/* Bagian 1 */
.section1 {
    position: relative;
    height: 400px;
    background: url('../image/Cover\ Sampul\ Training\ page.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section1 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Efek hitam transparan */
}

/* Bagian 2 */
.section2 {
    position: relative;
    width: 100%;
    margin-top: -35px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
}

.card {
    width: 100%;
    max-width: 1250px;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Efek ujung bawah menunjuk */
.card::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 85%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
    filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.2));
}

.title {
    font-size: 20px;
    font-family: 'General sans', sans-serif;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Layout ikon dan teks */
.content {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.item {
    flex: 1;
    text-align: center;
    min-width: 180px;
    max-width: 210px;
    font-family: 'General sans', sans-serif;
}

.item img {
    width: 75px;
    height: 75px;
    margin-bottom: 10px;
}

/* Bagian 3 */
.section3 {
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

.training-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Bagian Kiri */
.left-content {
    flex: 2;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    display: block;
}

.bold {
    font-weight: bold;
}

ul {
    padding-left: 20px;
    margin-left: 0;
    list-style-position: outside;
}

ul li {
    margin-left: 0; 
    padding-left: 0;
    text-align: left; 
}

.faq-container {
    margin-top: 20px; /* Memberi jarak dari bagian sebelumnya */
    border-top: 1px solid #363636;
}

.faq-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #363636;
    padding: 10px;
    cursor: pointer;
    position: relative;
}

.faq-item .question {
    color: rgb(0, 55, 255);
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    flex: 1;
    padding-right: 50px;
}

.faq-item .answer {
    display: none;
    padding-top: 10px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    flex: 1;
    padding-right: 50px;
}

.faq-item .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .answer {
    display: block;
}

.faq-item.active .icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Bagian Kanan (Card) */
.right-card {
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 600px;
  background: #FFA726;
  padding: 20px;
  border-radius: 10px;
  color: white;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Judul Card */
.card-title {
    font-weight: bold;
    font-family: 'General sans', sans-serif;
    font-size: 26px;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.card-subtitle {
    font-weight: bold;
    font-family: 'General sans', sans-serif;
    font-size: 52px;
}

.perhatian{
  font-size: 14px;
  text-align: left;
  color: white;
}

.divider {
    width: 50%;
    height: 4px;
    background: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    margin: 10px auto;
}

/* Input dan Select */
.right-card label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    text-align: left;
    margin-top: 10px;
    color: black;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.checkbox-container input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    margin-bottom: 17px;
}

.checkbox-container label {
    font-size: 14px;
    font-weight: bold;
    color: black;
    white-space: nowrap;
    margin-bottom: 30px;
}

.button-container {
    display: flex;
    justify-content: flex-end;
}

button {
    padding: 10px 20px; 
    background: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px !important;
    font-size: 16px;
    font-family: 'General sans', sans-serif;
    font-weight: bold;
    cursor: pointer;
}

button:disabled {
    background: #ffffff;
    cursor: not-allowed;
}
#submitButton:disabled {
    background-color: #ffffff;
    cursor: not-allowed;
}

#submitButton {
    transition: all 0.3s ease;
}

/* Styling untuk select */
#jadwal, #sertifikasi {
  -webkit-appearance: none; 
  -moz-appearance: none; 
  appearance: none;
  
  background-color: white;
  border: none;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  border-radius: 5px;

  /* Tambahkan padding kanan agar ikon tidak tertutup teks */
  padding-right: 35px;

  /* Tambahkan ikon custom */
  background-image: url('https://cdn-icons-png.flaticon.com/512/25/25623.png');
  background-repeat: no-repeat;
  
  /* Atur ikon agar tidak terlalu ke kanan */
  background-position: right 20px center;
  background-size: 12px;
}

/* Responsive: ubah urutan elemen di mobile */
@media (max-width: 768px) {
  .training-container {
    flex-direction: column;
  }

  .right-card {
    order: 1; /* Form dulu */
  }

  .left-content {
    order: 2; /* Konten teks belakangan */
  }
}


/* Footer */
footer {
  background-color: #20262E;
  color: #ffffff;
  padding: 40px 20px;
}
footer a {
  color: #ffffff;
  text-decoration: none;
}
footer a:hover {
  color: orange;
}
.social-icons a {
  margin-right: 15px;
  color: #ffffff;
  font-size: 20px;
}
.social-icons a:hover {
  color: orange;
}
.menu-list a {
  display: block;
  margin-bottom: 10px;
}
.subscribe input {
  margin-bottom: 10px;
}